package com.dtx.po;

import java.util.List;

/**
 *springtest数据库中orders表的持久化类
 */
public class Orders {
	private Integer id;
	private  String ordersn;
	private List<Product> products;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getOrdersn() {
		return ordersn;
	}
	public void setOrdersn(String ordersn) {
		this.ordersn = ordersn;
	}
	public List<Product> getProducts() {
		return products;
	}
	public void setProducts(List<Product> products) {
		this.products = products;
	}
	@Override
	public String toString() {
		return "Orders [id=" + id + ",ordersn=" + ordersn+ "]";
	}
}
